﻿function CenterPopupWindow(e) {
    var popup = $("#GridPopUp");
    popup.css({ "left": ($(window).width() / 2 - $(popup).width() / 2) + "px", "top": ($(window).height() / 2 - $(popup).height() / 2) + "px" });
}

